package com.example.leetcode.graph;

import com.example.leetcode.graph.common.GraphUtils;

class Solution839 {
    public int numSimilarGroups(String[] strs) {
        return GraphUtils.numSimilarGroups(strs);
    }
}

public class leetcode839 {
    public static void main(String[] args) {
        Solution839 solution839 = new Solution839();
        String[] strs = {"tars", "rats", "arts", "star"};
        System.out.println(solution839.numSimilarGroups(strs));
    }
}
